package com.example.mycarcalling.dao;

import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.example.lib_common.dao.MyPublicInterface;
import com.example.mycarcalling.activity.LoginActivity;

import javax.inject.Inject;

import io.github.prototypez.appjoint.core.ServiceProvider;

@ServiceProvider
public class AppPublicInterface implements MyPublicInterface {

    @Override
    public void toLogin(Context context) {
        Intent intent = new Intent(context, LoginActivity.class);
        context.startActivity(intent);
    }
}
